Skip to content

Remove config file, accept target endpoint directly#1

Open
pavel-kirienko wants to merge 1 commit into
maksimdrachov:masterfrom
pavel-kirienko:remove-config-file
Open

Remove config file, accept target endpoint directly#1
pavel-kirienko wants to merge 1 commit into
maksimdrachov:masterfrom
pavel-kirienko:remove-config-file

Conversation

@pavel-kirienko

@pavel-kirienko pavel-kirienko commented Mar 27, 2026

Copy link
Copy Markdown

The rationale is to keep it simple. Every config/indirection reduces the addressable user base. If the user wants named endpoints, they can use mDNS instead of configs.

Changes:

  • Remove TOML config file (~/.matrix_display) and all config loading logic
  • --target now accepts an IP address or hostname directly (e.g., 192.168.1.201 or my-display.local)
  • For friendly aliases, use mDNS instead of the config file

Tested:

  • All unit tests pass (PYTHONPATH=src python3 -m unittest discover -s tests -t .)
  • Manual test with a real PixLite controller using IP and hostname

🤖 Generated with Claude Code

The --target flag now takes an IP address or hostname directly
instead of a named alias from a TOML config file. For friendly
names, use mDNS (e.g., my-display.local).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@maksimdrachov

Copy link
Copy Markdown
Owner

I don't know about being able to use mDNS since it doesn't seem to be supported by Pixlite:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants